package com.ywqf_api.service;

import com.ywqf_api.dto.exc.ClientExcution;
import com.ywqf_api.dto.in.GoodsDecorationDto;
import com.ywqf_api.dto.in.GoodsInfoDto;
import com.ywqf_api.entity.Goods;
import com.ywqf_api.entity.GoodsList;

import java.util.List;
import java.util.Map;

public interface GoodsService {

    Goods findGoodsInfo(Integer goodId);

    Map findCommunity(int goodsId);


    Map findDecoration(int goodsId);

    int addCommunity(GoodsInfoDto goodsInfoDto);



    int addDecoration(GoodsDecorationDto goodsDecorationDto);

    int findIsReservation(Integer customerId,Integer goodsId);

    List<GoodsList>  findGoodsList(int customerId , int type);

}
